tests: Don't run openjpeg tests on big-endian
authorJeremy Bícha <jbicha@ubuntu.com>
Tue, 7 Oct 2025 23:06:53 +0000 (19:06 -0400)
committerMarc Leeman <marc.leeman@gmail.com>
Tue, 12 May 2026 08:14:58 +0000 (10:14 +0200)
This could mean that openjpeg is broken on these architectures!

Gbp-Pq: Name Skip-failing-tests-big-endian.patch

tests/check/meson.build

index 028c9b6e3e757599163d3d72141dda7f0871b753..fb0ebb090222e49bb8f68c0aad24d18f0a80dde0 100644 (file)
@@ -68,7 +68,7 @@ base_tests = [
   [['elements/nvenc.c'], false, [gstgl_dep, gmodule_dep]],
   [['elements/nvdec.c'], not gstgl_dep.found(), [gstgl_dep, gmodule_dep]],
   [['elements/svthevcenc.c'], not svthevcenc_dep.found(), [svthevcenc_dep]],
-  [['elements/openjpeg.c'], not openjpeg_dep.found(), [openjpeg_dep]],
+  [['elements/openjpeg.c'], not openjpeg_dep.found() or host_machine.endian() == 'big', [openjpeg_dep]],
   [['elements/pcapparse.c'], false, [libparser_dep]],
   [['elements/pnm.c'], get_option('pnm').disabled()],
   [['elements/proxysink.c'], get_option('proxy').disabled()],